<?php
 class FLEA_Exception_TypeMismatch extends FLEA_Exception { var $arg; var $expected; var $actual; function FLEA_Exception_TypeMismatch($arg, $expected, $actual) { $this->arg = $arg; $this->expected = $expected; $this->actual = $actual; $code = 0x010200c; $msg = sprintf(_ET($code), $arg, $expected, $actual); parent::FLEA_Exception($msg, $code); } } 